package adv331;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

/**
 * @author oldliu
 * @since 1.0
 */
public class BuffReaderTest {
    public static void main(String[] args) {
        try {
            BufferedReader br=new BufferedReader(new FileReader("d:/temp/java83.txt"));
            String str=null;
            while ((str=br.readLine())!=null){
                System.out.println(str.length()+":"+str);
            }
            br.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
